home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-16 | 1.1 KB | 36 lines | [TEXT/GEOL] |
- Item 2600785 15-March-90 07:40PST
-
- From: AUST0134 Jam Software Sydney,IVR
-
- To: AU0008 Austria - Kopfwerk,IDV
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re Headerprinting
-
- Dear Tommi,
-
- The suppression (or changing) of headers and footers can be done by looking the
- strip being printed. For example, if you want headers and footers on top and
- bottom pages respectively, you could do something like (please note this code
- has never been tried, it was just concocted late at night - is there any other
- time? )
-
- PROCEDURE TSpecPrintHandler.AdornPage; OVERRIDE;
- VAR
- strip: Point;
- BEGIN
- INHERITED AdornPage; { draw frames in debugging mode }
- strip := PageToStrip(fFocusedPage);
- IF strip.v := 0 THEN { 0-based }
- fHeaderView.DrawContents { please draw my header }
- ELSE IF strip.v := fPageStrips.h - 1 THEN { I think fPageStrips is 1-based }
- fFooterView.DrawContents; { please draw my footer }
- END;
-
- Yours Down Under,
-
- Tseung Cheung
- AUST0134
-
-